org.bootchart.parser.linux
Class PidNameParser
java.lang.Object
org.bootchart.parser.linux.PidNameParser
public class PidNameParser
- extends Object
PidNameParser parses PID to command name mapping log files.
|
Method Summary |
static Map |
parseLog(InputStream is)
Parses the pidname log file (containing pid to command
name mappings). |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
PidNameParser
public PidNameParser()
parseLog
public static Map parseLog(InputStream is)
throws IOException
- Parses the
pidname log file (containing pid to command
name mappings).
- Parameters:
is - the input stream to parse
- Returns:
- a map of Integer to String instances
- Throws:
IOException - if an I/O error occurs